perched precariously

Translations
неустойчиво сидящий
The cat was perched precariously on the narrow ledge.
Кошка неустойчиво сидела на узком карнизе.